﻿using BusinessBingo.Common.Interfaces;
using BusinessBingo.Data.Interfaces;

namespace BusinessBingo.Data
{
    /// <summary>
    /// EF Model with IUnitOfWork Implementation
    /// </summary>
    public partial class BusinessBingoDBEntities : IUnitOfWork
    {
        /// <summary>
        /// Calls save changes on ef context
        /// </summary>
        public void Commit()
        {
            this.SaveChanges();
        }
    }
}